package com.mrd.modules.quartz.impl;

import com.mrd.base.entity.BaseEntity;



/**
 * 任务调度
 * 
 * @author han
 * @date 2017-09-22 10:39:39
 */
public class SysJobEntity extends BaseEntity {
  private static final long serialVersionUID = 1L;
  public static final String STATUS_RUNNING = "1";
  public static final String STATUS_NOT_RUNNING = "0";
  public static final String CONCURRENT_IS = "1";
  public static final String CONCURRENT_NOT = "0";

  // 主键
  private Integer jobId;
  // 调度器名称
  private String jobName;
  // 分组
  private String jobGroup;
  // 状态
  private String jobStatus;
  // 表达式
  private String cronExpression;
  // 类的路径
  private String beanClass;
  // 任务是否有状态
  private String isConcurrent;
  // 描述
  private String description;
  // 创建时间
  private Object createTime;
  // 更新时间
  private Object updateTime;
  /**
   * 运行状态
   */
  private String runningStatus;

  /**
   * 设置：主键
   */
  public void setJobId(Integer jobId) {
    this.jobId = jobId;
  }

  /**
   * 获取：主键
   */
  public Integer getJobId() {
    return jobId;
  }

  /**
   * 设置：调度器名称
   */
  public void setJobName(String jobName) {
    this.jobName = jobName;
  }

  /**
   * 获取：调度器名称
   */
  public String getJobName() {
    return jobName;
  }

  /**
   * 设置：分组
   */
  public void setJobGroup(String jobGroup) {
    this.jobGroup = jobGroup;
  }

  /**
   * 获取：分组
   */
  public String getJobGroup() {
    return jobGroup;
  }

  /**
   * 设置：状态
   */
  public void setJobStatus(String jobStatus) {
    this.jobStatus = jobStatus;
  }

  /**
   * 获取：状态
   */
  public String getJobStatus() {
    return jobStatus;
  }

  /**
   * 设置：表达式
   */
  public void setCronExpression(String cronExpression) {
    this.cronExpression = cronExpression;
  }

  /**
   * 获取：表达式
   */
  public String getCronExpression() {
    return cronExpression;
  }

  /**
   * 设置：类的路径
   */
  public void setBeanClass(String beanClass) {
    this.beanClass = beanClass;
  }

  /**
   * 获取：类的路径
   */
  public String getBeanClass() {
    return beanClass;
  }

  /**
   * 设置：任务是否有状态
   */
  public void setIsConcurrent(String isConcurrent) {
    this.isConcurrent = isConcurrent;
  }

  /**
   * 获取：任务是否有状态
   */
  public String getIsConcurrent() {
    return isConcurrent;
  }

  /**
   * 设置：描述
   */
  public void setDescription(String description) {
    this.description = description;
  }

  /**
   * 获取：描述
   */
  public String getDescription() {
    return description;
  }

  /**
   * 设置：创建时间
   */
  public void setCreateTime(Object createTime) {
    this.createTime = createTime;
  }

  /**
   * 获取：创建时间
   */
  public Object getCreateTime() {
    return createTime;
  }

  /**
   * 设置：更新时间
   */
  public void setUpdateTime(Object updateTime) {
    this.updateTime = updateTime;
  }

  /**
   * 获取：更新时间
   */
  public Object getUpdateTime() {
    return updateTime;
  }

  public String getRunningStatus() {
    return runningStatus;
  }

  public void setRunningStatus(String runningStatus) {
    this.runningStatus = runningStatus;
  }

}
